package com.dayilyword.service;


import com.dayilyword.entity.Msg;

import java.util.HashMap;
import java.util.List;

public interface MsgService {

    void publishMsg(int userId,String publishMsg);
    void disableMsg(int msgId);

    void putMsg(int msgId,String publishMsg);

    List<HashMap<String,Object>> getAttentionMsgList(int firstIndex,int lastIndex,int userId);


    List<HashMap<String,Object>> getUserHistoryMsgList(int firstIndex,int lastIndex,int userId);
}
